#!/bin/bash

# exit immediately if a command exits with a non-zero status.
set -e

# source /opt/ros/noetic/setup.bash
# source ~/Project/XFD/devel/setup.bash
#在targrt_motion
gnome-terminal --window -e 'bash -c "cd ~/Project/XFD/src/search_control/scripts; python3 L1_path_tracking_XFD.py 1; exec bash"' \
--tab -e 'bash -c "sleep 3; cd ~/Project/XFD/src/search_control/scripts; python3 L1_path_tracking_XFD.py 2; exec bash"' \
--tab -e 'bash -c "sleep 4; cd ~/Project/XFD/src/search_control/scripts; python3 L1_path_tracking_XFD.py 3; exec bash"' \
--tab -e 'bash -c "sleep 5; cd ~/Project/XFD/src/search_control/scripts; python3 L1_path_tracking_XFD.py 4; exec bash"' \
